package cn.dnf.user.mapper;

import cn.dnf.basic.mapper.BaseMapper;
import cn.dnf.user.domain.User;

public interface UserMapper extends BaseMapper<User> {
    User findByPhone(String phone);

    /**
     * 根据logininfoId获取user对象
     * @param id
     */
    User loadByLogininfoId(Long id);
}
